<?php
	//Check to see if there is a valid session 
	$SessionInfo = $SSO->isValidSession("index.php?action=login", $SSO->getSessionInformation());	
	
	//Check to see if the user has rights to be on LivingWeb
	$PageRights = array('ADMIN','USER');
	$UserRoles = $Security->ValidateUser($SessionInfo['username'], $AppID, $PageRights, 1);
	
	//Grab the user info
	$UserInfo = $User->GetUserInfo($SessionInfo['username']);
?>
<table cellpadding="0" cellspacing="0" border="0" width="700">
	<tr>	
		<td>
			<?php
				if(isset($_GET['edit_action']) && $_GET['edit_action'] == 'edit_props')
				{
					include("edit_props.php");
				}
				else
				{
					include("view_props.php");
				}
			?>
		</td>
	</tr>
	<tr><td><br></td></tr>
	<tr>
		<td>
			<?php
				if(isset($_GET['edit_action']) && $_GET['edit_action'] == 'edit_content')
				{
					include("edit_content.php");
				}
				else
				{
					include("view_content.php");
				}
			?>
		</td>
	</tr>
</table>